package com.markerhub.exception.apiException.daoException;

import com.markerhub.constant.ApiExceptionCodes;
import com.markerhub.exception.apiException.DaoException;

/**
 * 数据库删除失败的异常类
 * @author Ma Xiaofeng
 * @date : Created in 2021/12/08
 **/
public class DeleteException extends DaoException {
    public DeleteException(String message) {
        super(message, ApiExceptionCodes.DELETE_ERROR.getValue());
    }

    public DeleteException() {
        super(ApiExceptionCodes.DELETE_ERROR.getDesc(), ApiExceptionCodes.DELETE_ERROR.getValue());
    }
}
